import 'package:enterprise_v6_app/generated/json/base/json_convert_content.dart';
import 'package:enterprise_v6_app/app/data/entities/application/Inventory_system/get_feign_team_member_list_page_entity.dart';

GetFeignTeamMemberListPageEntity $GetFeignTeamMemberListPageEntityFromJson(Map<String, dynamic> json) {
  final GetFeignTeamMemberListPageEntity getFeignTeamMemberListPageEntity = GetFeignTeamMemberListPageEntity();
  final String? beGoodAtMajor = jsonConvert.convert<String>(json['beGoodAtMajor']);
  if (beGoodAtMajor != null) {
    getFeignTeamMemberListPageEntity.beGoodAtMajor = beGoodAtMajor;
  }
  final String? companyCode = jsonConvert.convert<String>(json['companyCode']);
  if (companyCode != null) {
    getFeignTeamMemberListPageEntity.companyCode = companyCode;
  }
  final String? createBy = jsonConvert.convert<String>(json['createBy']);
  if (createBy != null) {
    getFeignTeamMemberListPageEntity.createBy = createBy;
  }
  final String? createById = jsonConvert.convert<String>(json['createById']);
  if (createById != null) {
    getFeignTeamMemberListPageEntity.createById = createById;
  }
  final String? createDate = jsonConvert.convert<String>(json['createDate']);
  if (createDate != null) {
    getFeignTeamMemberListPageEntity.createDate = createDate;
  }
  final String? deleted = jsonConvert.convert<String>(json['deleted']);
  if (deleted != null) {
    getFeignTeamMemberListPageEntity.deleted = deleted;
  }
  final String? education = jsonConvert.convert<String>(json['education']);
  if (education != null) {
    getFeignTeamMemberListPageEntity.education = education;
  }
  final String? id = jsonConvert.convert<String>(json['id']);
  if (id != null) {
    getFeignTeamMemberListPageEntity.id = id;
  }
  final String? partTimeJob = jsonConvert.convert<String>(json['partTimeJob']);
  if (partTimeJob != null) {
    getFeignTeamMemberListPageEntity.partTimeJob = partTimeJob;
  }
  final String? practiceLong = jsonConvert.convert<String>(json['practiceLong']);
  if (practiceLong != null) {
    getFeignTeamMemberListPageEntity.practiceLong = practiceLong;
  }
  final String? teamId = jsonConvert.convert<String>(json['teamId']);
  if (teamId != null) {
    getFeignTeamMemberListPageEntity.teamId = teamId;
  }
  final int? teamMemberAge = jsonConvert.convert<int>(json['teamMemberAge']);
  if (teamMemberAge != null) {
    getFeignTeamMemberListPageEntity.teamMemberAge = teamMemberAge;
  }
  final String? teamMemberName = jsonConvert.convert<String>(json['teamMemberName']);
  if (teamMemberName != null) {
    getFeignTeamMemberListPageEntity.teamMemberName = teamMemberName;
  }
  final String? teamMemberPhone = jsonConvert.convert<String>(json['teamMemberPhone']);
  if (teamMemberPhone != null) {
    getFeignTeamMemberListPageEntity.teamMemberPhone = teamMemberPhone;
  }
  final String? teamMemberSex = jsonConvert.convert<String>(json['teamMemberSex']);
  if (teamMemberSex != null) {
    getFeignTeamMemberListPageEntity.teamMemberSex = teamMemberSex;
  }
  final String? teamMemberSexName = jsonConvert.convert<String>(json['teamMemberSexName']);
  if (teamMemberSexName != null) {
    getFeignTeamMemberListPageEntity.teamMemberSexName = teamMemberSexName;
  }
  final String? teamName = jsonConvert.convert<String>(json['teamName']);
  if (teamName != null) {
    getFeignTeamMemberListPageEntity.teamName = teamName;
  }
  final String? technology = jsonConvert.convert<String>(json['technology']);
  if (technology != null) {
    getFeignTeamMemberListPageEntity.technology = technology;
  }
  final String? updateBy = jsonConvert.convert<String>(json['updateBy']);
  if (updateBy != null) {
    getFeignTeamMemberListPageEntity.updateBy = updateBy;
  }
  final String? updateById = jsonConvert.convert<String>(json['updateById']);
  if (updateById != null) {
    getFeignTeamMemberListPageEntity.updateById = updateById;
  }
  final String? updateDate = jsonConvert.convert<String>(json['updateDate']);
  if (updateDate != null) {
    getFeignTeamMemberListPageEntity.updateDate = updateDate;
  }
  return getFeignTeamMemberListPageEntity;
}

Map<String, dynamic> $GetFeignTeamMemberListPageEntityToJson(GetFeignTeamMemberListPageEntity entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['beGoodAtMajor'] = entity.beGoodAtMajor;
  data['companyCode'] = entity.companyCode;
  data['createBy'] = entity.createBy;
  data['createById'] = entity.createById;
  data['createDate'] = entity.createDate;
  data['deleted'] = entity.deleted;
  data['education'] = entity.education;
  data['id'] = entity.id;
  data['partTimeJob'] = entity.partTimeJob;
  data['practiceLong'] = entity.practiceLong;
  data['teamId'] = entity.teamId;
  data['teamMemberAge'] = entity.teamMemberAge;
  data['teamMemberName'] = entity.teamMemberName;
  data['teamMemberPhone'] = entity.teamMemberPhone;
  data['teamMemberSex'] = entity.teamMemberSex;
  data['teamMemberSexName'] = entity.teamMemberSexName;
  data['teamName'] = entity.teamName;
  data['technology'] = entity.technology;
  data['updateBy'] = entity.updateBy;
  data['updateById'] = entity.updateById;
  data['updateDate'] = entity.updateDate;
  return data;
}

extension GetFeignTeamMemberListPageEntityExtension on GetFeignTeamMemberListPageEntity {
  GetFeignTeamMemberListPageEntity copyWith({
    String? beGoodAtMajor,
    String? companyCode,
    String? createBy,
    String? createById,
    String? createDate,
    String? deleted,
    String? education,
    String? id,
    String? partTimeJob,
    String? practiceLong,
    String? teamId,
    int? teamMemberAge,
    String? teamMemberName,
    String? teamMemberPhone,
    String? teamMemberSex,
    String? teamMemberSexName,
    String? teamName,
    String? technology,
    String? updateBy,
    String? updateById,
    String? updateDate,
  }) {
    return GetFeignTeamMemberListPageEntity()
      ..beGoodAtMajor = beGoodAtMajor ?? this.beGoodAtMajor
      ..companyCode = companyCode ?? this.companyCode
      ..createBy = createBy ?? this.createBy
      ..createById = createById ?? this.createById
      ..createDate = createDate ?? this.createDate
      ..deleted = deleted ?? this.deleted
      ..education = education ?? this.education
      ..id = id ?? this.id
      ..partTimeJob = partTimeJob ?? this.partTimeJob
      ..practiceLong = practiceLong ?? this.practiceLong
      ..teamId = teamId ?? this.teamId
      ..teamMemberAge = teamMemberAge ?? this.teamMemberAge
      ..teamMemberName = teamMemberName ?? this.teamMemberName
      ..teamMemberPhone = teamMemberPhone ?? this.teamMemberPhone
      ..teamMemberSex = teamMemberSex ?? this.teamMemberSex
      ..teamMemberSexName = teamMemberSexName ?? this.teamMemberSexName
      ..teamName = teamName ?? this.teamName
      ..technology = technology ?? this.technology
      ..updateBy = updateBy ?? this.updateBy
      ..updateById = updateById ?? this.updateById
      ..updateDate = updateDate ?? this.updateDate;
  }
}
